home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.2 KB | 32 lines | [TEXT/GEOL] |
- Item 5698159 11-Jan-91 22:21PST
-
- From: D3085 Progressive Computing, D Lucky,PRT
-
- To: MACAPP.TECH$ MacApp Technical
- HABLUTZEL Hablutzel, Bob
-
- ------------------------------------------------------------------------------
-
- Sub: RE[2]-TObject Superclass?
-
- Bob,
-
- Sorry, I guess I didn't explain it well enough. What I'd like to do is:
-
- TSuperObject = OBJECT
- TObject = OBJECT(TSuperObject)
-
- TObject is the only class that would be derived from TSuperObject (yikes,
- whadda name). Also, TSuperObject is abstract so no objects of this class will
- ever be instantiated. Now all of my MacApp classes (i.e., all that are
- subclasses of TObject) should now share the behavior (fields and methods) of
- TSuperObject. I'll have to modify TObject.IObject to call
- TSuperObject.ISuperObject for initialization. A problem that I can see is that
- TSuperObject won't be able to have a Fields method but I can live with that
- since I'm using The Debugger. Are there any other problems that I may run
- into? Or will this just not work?
-
- Thanx,
- Dave
-
-